New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON status to simplify automatic monitoring #25
Conversation
Great idea ! Thanks for this patch. |
Acctually, I have added the json and csv output page in the develop branch: https://github.com/yaoweibin/nginx_upstream_check_module/blob/development/ngx_http_upstream_check_module.c the docs is the same as tengine: http://tengine.taobao.org/document/http_upstream_check.html |
What you've done in the develop branch about specifying a default check_status as csv|json|html is great, and being able to override it using the format query string is really good. When do you plan to integrate this in master ? |
@XavM 👍 Would be awesome to see that merged into master |
Would be great if you could merge into master. I can do testing and report any issues. |
Any chances to see this in master? |
+1 |
OK. I'll do this merge in this weekend. |
Really good news |
wow I didn't even see this when I made my PR. |
@yaoweibin any updates please? |
I have added this json status page, very similar with tengine(http://tengine.taobao.org/document/http_upstream_check.html). See the master branch |
Hi,
we modified the the status resource to return json instead of a HTML table. This can be used to simplify monitoring. Example output looks like this:
There is lot's of room for improvement regarding the structure of the hash but i still hope you like the idea.
Cheers!
Daniel